<template>
	<view>
		<view class="pay-header-view">
			<view class="order-success1">
				<image class="order-success-image1" src="../../static/index/32.png" mode=""></image>
				
				 <!-- <view style="font-size: 20px;color: #2A74EB;font-weight: bold;">审核中</view> -->
			</view>
		</view>
		<view class="order-pay-title">
			<view class="order-success">支付成功</view>
			<!-- <view class="order-price"><text style="font-size: 15px;">￥</text>{{price}}</view> -->
		</view>
		<view class="homeInfo-message-btnView"@click="navigatorOrderConfirm">
			<view class="homeInfo-message-btn">
				完成
			</view>
		</view>
		<view class="homeInfo-message-btnView" @click="navigatorOrderConfirm">
			<view class="homeInfo-message-btn1">
				返回首页
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				price:''
			}
		},
		onLoad(option) {
			if(option){
				this.price = option.price
			}
		},
		methods: {
			navigatorOrderConfirm() {
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss">
	// .pay-success{
	// 	background-color: #ffffff;
	// 	min-height: 100vh;
	// }
	.homeInfo-message-btnView {
		width: 100%;
		padding: 20rpx 50rpx;
	}

	.homeInfo-message-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 25rpx 0;
		background-color: #FFF0CA;
		border-radius: 50rpx;
		font-size: 15px;
		color: #E83434;
	}

	.homeInfo-message-btn1 {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 25rpx 0;
		border: 1px solid #ffffff;
		border-radius: 50rpx;
		font-size: 15px;
		color: #ffffff;
	}

	.order-pay-title {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		margin-bottom: 100rpx;
	}

	.order-price {
		font-size: 20px;
		color: #E83434;
		margin-bottom: 100rpx;
	}

	.order-success {
		font-size: 15px;
		color: #ffffff;
		margin: 40rpx;
	}

	.pay-header-view {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: -60rpx;
	}

	.order-success1 {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 200rpx;
		width: 226rpx;
		height: 226rpx;
		background-color: #F37F02;
		border-radius: 50%;
		/* background: url('../../static/order/31.png')no-repeat;
		background-size: 100% 100%; */
	}

	.order-success-image1 {
		width: 128rpx;
		height: 112rpx;
	}

	.order-success-btn {
		padding: 20rpx 60rpx;
		border-radius: 76rpx;
		font-size: 15px;
		color: #ffffff;
		background: #F37F02;
	}
</style>